/* header 头部 */

header {
    height: 60px;
    position: relative;
}

.inner {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.logo {
    width: 60px;
    height: 60px;
    font-size: 34px;
    color: #eb0028;
    line-height: 60px;
}

.nav-pages {
    display: inline-block;
    height: 60px;
}

.nav-pages li {
    font-size: 14px;
    line-height: 60px;
    text-align: center;
    display: inline-block;
}

.nav-pages>li>a {
    box-sizing: border-box;
    padding: 0 1.5em;
    height: 60px;
    line-height: 60px;
    color: #000;
    display: block;
    border-bottom: 2px solid transparent;
    transition: .25s;
}

.nav-pages>li:hover>a,
.header-r li a:hover {
    border-bottom: 2px solid #eb0028;
}

.family-slide:hover ul {
    display: block;
}

.family-show {
    width: 100%;
    text-align: center;
    position: absolute;
    display: none;
    top: 60px;
    left: 0;
    background-color: #fff;
}

.family-show li {
    display: inline-block;
    width: 150px;
    height: 140px;
}

.family-show li a {
    display: block;
    padding: 40px 0;
}

.family-show a:hover {
    color: red;
}

.family-slide .iconfont {
    display: block;
    line-height: 1;
    font-size: 24px;
}

.nav-right>li {
    float: left;
}

.nav-right>li>a {
    box-sizing: border-box;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 25px;
    border-bottom: 2px solid transparent;
    transition: .25s;
}

.sign-in {
    position: relative;
}

.sign-in:hover ul {
    display: block;
}

.nav-links {
    position: absolute;
    display: none;
    top: 60px;
    width: 320px;
    height: 276px;
    right: -60px;
    background-color: #fff;
    font-size: 14px;
    text-align: left;
    padding-top: 20px;
}

.nav-links li {
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links li a {
    display: block;
    line-height: 50px;
    height: 50px;
    color: #828282;
    border-bottom: 1px solid #ddd;
}

.nav-links .nav-sign {
    padding-top: 25px;
    padding-bottom: 25px;
    height: 56px;
}

.nav-links .nav-sign a {
    border-bottom: none;
    color: #09c;
}

.header-shop {
    position: relative;
}

.cart-num {
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 19px;
    font-size: 12px;
    background-color: #eb0028;
    border: 2px solid #fff;
    color: #fff;
    top: 28px;
    left: 28px;
    border-radius: 50%;
}


body {
    background-color: #fcfcfc;
}

.center {
    width: 1200px;
    margin: 150px auto;
}

.center-left {
    width: 500px;
}

.container{
    width: 350px;
    height: 450px;
    position: relative;
    margin-left: 20px;
}
.small-img{
    width : 350px;
    height: 350px;
    position: relative;
    box-shadow: 0 0 10px #000;
}
.small-img img{
    width: 100%;
    height: 100%;
}
.cube{
    width: 100px;
    height: 100px;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    display: none;
    background-repeat: no-repeat;
    background-size: 350px 350px;
    background-position: 0 0 ;                  
}
.big-img{
    width: 300px;
    height: 300px;
    position: absolute;
    left: 350px;
    top: 0;
    box-shadow: 0 0 10px #000;
    overflow: hidden;
    display: none;
}
.big-img img{
    width: 1050px;
    height: 1050px;
    position: absolute;
    background-color: #fff;
}

.img-btn{
    padding-top: 20px;
    width: 100%;
    height: 100px;
}
.img-btn .img-box{
    width: 60px;
    float: left;
    border: 3px solid rgba(0,0,0,0);
    overflow: hidden;
}
.img-btn .img-box.active{
    border-color: red;
}
.img-btn .img-box:hover{
    border-color: red;
}
.img-btn .img-box img{
    width  : 100%;
    height : 100%;
}

h1 {
    font-size: 28px;
    margin: 10px 0;
}

.center-right p {
    width: 600px;
    height: 1px;
    background-color: #ddd;
    margin: 50px 0;
}

h5 {
    color: #999;
    margin-bottom: 10px;
}

.colorone,
.colortwo {
    display: inline-block;
    width: 290px;
    height: 68px;
    line-height: 68px;
    text-align: center;
    color: #999;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-right: 10px;
}

h3 {
    margin-top: 100px;
}